﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MainForm.aspx.cs" Inherits="TextBoxCopy.MainForm" ValidateRequest="false" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="mainform" runat="server">
    <div>
        <asp:TextBox ID="inputText" TextMode="MultiLine" runat="server" Width="300" Height="300"></asp:TextBox>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="submitButton" Text="Send" runat="server" 
            onclick="submitButton_Click" />
        <asp:Button ID="submitEscaped" Text="Send and escape" runat="server" 
            onclick="escapeButton_Click" />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:TextBox ID="outputText" TextMode="MultiLine" runat="server" Width="300" Height="300" ></asp:TextBox>
        <br />
        <div id="textBoxContent" runat="server">
        
        </div>
    </div>
    </form>
</body>
</html>
